package com.zhao.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Purchase {
    private Integer id;

    private String goodsId;

    private Integer amount;

    private Double price;

    private Date purchaseTime;

    private String supplierId;

    private Integer purchaseUserId;

    private Integer deleted;

    private Goods goods;
    private User user;
    private Supplier supplier;
}